 $(function () {
        $(document).ready(function () {
            var hreflist = eval();
            var hreflist1 = eval();
            var hreflist2 = eval();
			var hreflist3 = eval();
			var hreflist4 = eval();
            function ShowNav(divid, classNames, offClassName, onClassName,MoreClassName) {
                var listHref = null;
                if ($(divid).attr("id") == "firm") listHref = hreflist;
                if ($(divid).attr("id") == "tooling-bd") listHref = hreflist1;
                if ($(divid).attr("id") == "company") listHref = hreflist2;
				if ($(divid).attr("id") == "zb-cont") listHref = hreflist3;
				if ($(divid).attr("id") == "cltk-box") listHref = hreflist4;
                $(classNames).children().each(function (index) {
                    $(this).mouseover(function () {
                        $(classNames).children().attr("class", offClassName);
                        $(this).attr("class", onClassName);
                        $(divid).children("div:gt(0)").hide();
                        $(divid).children("div:gt(0)").each(function (index2) {
                            if (index2 == index) {
                                $(this).show();
                                $(MoreClassName + " a").attr("href", listHref[index2].url);
                                return false;
                            }
                        });
                    });
                });
            }

          ShowNav($("#firm"), $(".firm-menu"), 'sub-off', 'sub-on', '');
                ShowNav($("#tooling-bd"), $(".tooling-menu"), 'sub1-off', 'sub1-on', '');
                ShowNav($("#company"), $(".company-menu"), 'sub1-off', 'sub1-on', '');
			    ShowNav($("#zb-cont"), $(".zb-menu"), 'sub2-off', 'sub2-on', '');
				ShowNav($("#cltk-box"), $(".cltk-tit"), 'sub3-off', 'sub3-on', '');

        });
    });